﻿using Frame.Core.Models;
using System.Threading.Tasks;

namespace Frame.Core.IServices.Admin
{
    public interface IPowerService : IBaseService<Powers>
    {
        /// <summary>
        /// 查询引用过的角色数
        /// </summary>
        /// <param name="powerID"></param>
        /// <returns></returns>
        Task<long> GetRolePowersCountById(int powerID);
    }
}
